From 2fe51eb35031a9dd0c0b740fd893b9704614464e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 23 Jul 2023 21:54:45 +0100 Subject: Support int-sub in Patio code gen --- ...ng.compiler.testing.snapshots.Snapshotter)].expected | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..d46a3fc2 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenIntSubTests]/[method:canGenerateCodeForIntSub(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,17 @@ +Compilation unit elements: + + +Locals: + * ("tmp__0" int) + +Args: + +Instructions: + +( + (int-sub (local "tmp__0") (local "b") (local "c")) +) + +Temporary stack: + * tmp__0 + * a -- cgit v1.2.3